package routers

import (
	"myProject/pkg/common"

	"github.com/gin-gonic/gin"
)

func InitRouter() *gin.Engine {
	r := gin.New()
	r.Use(gin.Logger())
	r.Use(gin.Recovery())

	gin.SetMode(common.RunMode)

	apiv1 := r.Group("/api/v1")
	{

	}

	return r
}
